/**
 * 
 */
package com.jiang.service.front.impl;

import java.sql.SQLException;

import com.jiang.dao.IAdminLogsDAO;
import com.jiang.dao.impl.AdminLogsDAOImpl;
import com.jiang.factory.DAOFactory;
import com.jiang.service.front.IAdminLogsServiceFront;
import com.jiang.vo.AdminLogs;

/**
 * @author Administrator
 * @用户登录日志
 */
public class AdminLogsServiceFrontImpl implements IAdminLogsServiceFront {

	@Override
	public boolean saveAdminLogs(AdminLogs adminLogs) throws SQLException {

		if (adminLogs != null) {
			IAdminLogsDAO adminLogsDAO = DAOFactory.getInstance(AdminLogsDAOImpl.class);
			return adminLogsDAO.doCreate(adminLogs);
		}
		return false;

	}

}
